package com.iaiai.calendar.database;

import android.database.sqlite.SQLiteDatabase;

/**
 * 
 * <p>
 * Title: SQLiteDatabaseHelper.java
 * </p>
 * <p>
 * E-Mail: 176291935@qq.com
 * </p>
 * <p>
 * QQ: 176291935
 * </p>
 * <p>
 * Http: iaiai.iteye.com
 * </p>
 * <p>
 * Create time: 2012-1-18 上午9:53:46
 * </p>
 * 
 * @author 丸子
 * @version 0.0.1
 */
public class SQLiteDatabaseHelper {
	
	private static final String DATABASE_NAME = "iaiai_calendar";	//数据库名子

	private static SQLiteDatabase sqlLiteDatabase;

	public static SQLiteDatabase getInstance() {
		if (sqlLiteDatabase == null) {
			sqlLiteDatabase = SQLiteDatabase.openOrCreateDatabase(DATABASE_NAME, null);
		}
		return sqlLiteDatabase;
	}

}
